package cn.imnaer.service.rpc.collect.application;

import java.util.ArrayList;
import java.util.List;

import org.bson.BSONObject;
import org.bson.BasicBSONObject;
import org.bson.types.BasicBSONList;

import cn.imnaer.database.MatchConst;
import cn.imnaer.service.persistence.model.Collect;
import cn.imnaer.service.persistence.model.consts.COLLECT;
import cn.imnaer.service.rest.resquest.model.CollectParams;

public interface ICollectService {

	public Collect save(Collect collect);

	public void deleteCollects(List<CollectParams> collectParamsList);

	public List<Collect> getMyCollecList(String userId);

	/**
	 * 得到不同类型的收藏。
	 *
	 * @param userId
	 * @param type
	 * @return
	 */
	public List<String> getCollectIdListByType(String userId, String type);

	public boolean delete(String collectId, String userId, String type) ;

}